package com.vf.admin.client.controller.pay.apple;

import com.vf.admin.client.common.ClientBaseController;
import com.vf.admin.client.service.AppApplePaySelectService;
import com.vf.admin.common.entity.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <p>Title : 苹果支付选择</p>
 * <p>Description : </p>
 * <p>DevelopTools : IDEA</p>
 * <p>DevelopSystem : Windows10</p>
 *
 * @Author : NemoMeng
 * @Date 2023/6/28 15:19
 */
@Controller
@CrossOrigin
@RequestMapping("/api/applePaySelect")
public class ApiApplePaySelectController extends ClientBaseController {

    @Autowired
    private AppApplePaySelectService appApplePaySelectService;

    @RequestMapping(value = "/weight")
    @ResponseBody
    public Result payWeight(){

        return this.sucessJSON(appApplePaySelectService.getWeightPayInfo());
    }
}
